import React, { Component } from 'react';

import Header from "../../../components/Header"
import Swipers from '../../../components/Swiper'
import Catelist from '../../../components/Catelist';
import Miaosha from "../../../components/Miaosha";
import Recommend from "../../../components/RecommendList"

interface Props {
    history:any,
    location:any,
    match:any
}
class Myhome extends Component<Props> {
    render() {
        console.log("home");
        return (
            <div>
                {/* 渲染Header头部组件 */}
                <Header />
                {/* 渲染swiper组件 */}
                <Swipers />
                {/* 渲染Catelist分类列表组件 */}
                <Catelist />
                {/* 渲染Miaosha组件 */}
                <Miaosha />
                {/* 渲染推荐列表组件 */}
                <Recommend></Recommend> 
                {/* 渲染底部导航组件 */}
                {/* <Tabbar /> */}
            </div>
        );
    }
}

export default Myhome;